import { DatePicker, Space } from 'antd';
import moment from 'moment';
import React from 'react';
const { RangePicker } = DatePicker;
const monthFormat = 'YYYY/MM';
const Month = () => (
  <Space direction="vertical" size={12}>
    <DatePicker defaultValue={moment('2020/01', monthFormat)} format={monthFormat} picker="month" />
  </Space>
);
export default Month;